@extends('frontend/layouts/flaty_to_bootstrap')

@section('content.titley')
Create new VanningCompany ::
@parent
@stop

    @section('content.breadcrumb.inner')
    <li><a href="{{  route('home') }}"><i class="icon-home"></i> Dashboard</a><span class="divider"><i class="icon-angle-right"></i></span></li>
    <li><a href="{{  route('car_balance.vanning_company.index') }}"><i class="icon-home"></i> VanningCompany list</a><span class="divider"><i class="icon-angle-right"></i></span></li>
    <li class="active">New VanningCompany </li>
    @stop

@section('content.main')

<p>{{ link_to_route('car_balance.vanning_company.index', 'Back to VanningCompany list', null, array('class' => 'btn btn-info')) }}</p>

<div class="row-fluid">
    {{ Form::open(array('route' => 'car_balance.vanning_company.create', 'class' => 'form-horizontal')) }}

    <div  class="control-group {{ $errors->first('name', ' error') }}">
        <label class="control-label" for="name">Name</label>
        <div class="controls">
            <input class="" placeholder="Name" title="Name" name="name" type="text" value="{{ Input::old('name') }}">
            {{ $errors->first('name', '<span class="help-inline">:message</span>') }}
        </div>
    </div>


    <div class="form-actions">
        {{  Form::submit('Submit', array('class' => 'btn btn-info')) }} &nbsp;&nbsp;
        {{  link_to_route('car_balance.vanning_company.index', 'Cancel', null, array('class' => 'btn ')) }}
    </div>
    {{  Form::close() }}
@stop